import request from '@/utils/request'

// 动态菜单
export function getUserMenu(type) {
  return request({
    //url: '/uums/common/menu/getUserMenu?subsysId=' + type.subSysName + '&userOrgId=' + type.orgswitchingid+ '&isEnglish=' + type.language,
    url: '/uums/common/menu/getUserMenu?subsysId=' + type.subSysName + '&userOrgId=' + type.orgswitchingid+ '&isEnglish=0',
    method: 'POST',
    data: {
      'subsysId': type
    }
  })
}
